package org.wang.generalcode.modules.gen.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.wang.generalcode.modules.gen.pojo.vo.PreviewVO;
import org.wang.generalcode.support.base.BaseEntity;

import java.util.List;
import java.util.zip.ZipOutputStream;

/**
 * 代码生成
 */
public interface GeneratorService extends IService<BaseEntity> {

    void downloadCode(Long tableId, ZipOutputStream zip);

    void generatorCode(Long tableId);

    List<PreviewVO> preview(Long tableId);
}
